﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL.Entity
{
    public class Article
    {
        public string ArticleId { get; set; }

        public string AccountId { get; set; }

        public string AccountName { get; set; }

        public string AccountHeaderIconURL { get; set; }

        public byte[] AccountHeaderIcon { get; set; }

        public string Title { get; set; }

        public string Summary { get; set; }

        public string ArticleURL { get; set; }

        public int ReadingCount { get; set; }

        public int PraiseCount { get; set; }

        public string OpendId { get; set; }

        public bool IsV { get; set; }

        public string ArticlePictureURL { get; set; }

        public byte[] ArticlePicture { get; set; }

        public DateTime ArticleCreated { get; set; }

        public long ArticleLastModified { get; set; }

        public DateTime Created { get; set; }

        public long LastModified { get; set; }

        public DateTime ArticleWithReadingCountURLCreated { get; set; }

        public string ArticleWithReadingCountURL { get; set; }

        public Article()
        {
            this.ArticleWithReadingCountURL = string.Empty;
            this.ArticleWithReadingCountURLCreated = DateTime.Now;
        }
    }
}
